package org.example.springboot;

import org.example.springboot.services.impl.LoginService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class Application {

    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(Application.class, args);
        LoginService loginService=context.getBean(LoginService.class);
        loginService.login("哈哈","123456");
    }

}
